import IconCircle from "./icons/IconCircle.vue";
import IconUser from '@/components/icons/IconUser.vue'
import IconBook from '@/components/icons/IconBook.vue'
import IconBorrow from '@/components/icons/IconBorrow.vue'
import IconReturn from '@/components/icons/IconReturn.vue'
import IconVisualization from '@/components/icons/IconVisualization.vue'
import IconStatistic from '@/components/icons/IconStatistic.vue'
import IconReader from '@/components/icons/IconReader.vue'
import ExcelImportButton from "@/components/common/ExcelImportButton.vue";
import ExcelExportButton from '@/components/common/ExcelExportButton.vue'
import IconLogo from "@/components/icons/IconLogo.vue";
import IconOnlineUser from "@/components/icons/IconOnlineUser.vue";

const allGlobalComponent = {
    IconCircle, IconUser, IconBook, IconBorrow, IconReturn, IconVisualization,
    IconStatistic, IconReader, ExcelImportButton, ExcelExportButton, IconLogo,
    IconOnlineUser
};
export default {
    install(app) {
        for (const key in allGlobalComponent) {
            if (Object.prototype.hasOwnProperty.call(allGlobalComponent, key)) {
                app.component(key, allGlobalComponent[key]);
            }
        }
    }
}
